<?php if(!empty($post_list)):?>
<?php foreach($post_list as $skey=>$post):?>
<div class="grid share_list" id="share_list_<?php echo $post['id']?>" data-id="<?php echo $post['id']?>">
	<div class="img">
		<a href="javascript:void(0)" class="showDetail" data-id="<?php echo $post['id']?>"><img class="lazy post_image" data-original="<?php echo Lib_Image::getPostImage($post['id'],$post['images'],260) ?>" /></a>
	</div>
	<div class="title clearfix">
		<a href="javascript:void(0)" title="<?php echo $post['title'];?>" class="title_info showDetail left" data-id="<?php echo $post['id']?>"><?php echo $post['title']?></a>
	</div>
	<?php if(!empty($cuser)&&$cuser['userid']==$user_info['userid']):?>
	<div class="collbtn clearfix">
		<div class="collbtn_info">
	        <a class="right edit_item" href="javascript:void(0)"  data-id="<?php echo $post['id']?>">
				<span class="edit"></span>
			</a>
	        <a class="right remove_item" href="javascript:void(0)"  data-id="<?php echo $post['id']?>">
		        <span class="remove"></span>
		    </a>
		</div>
    </div>
	<?php endif;?>
</div>
<?php endforeach;?>
<?php endif;?>